package cn.wolfcode.education.service;

import cn.wolfcode.education.domain.Payroll;
import cn.wolfcode.education.query.PayrollQuery;
import cn.wolfcode.education.query.QueryObject;
import cn.wolfcode.education.util.PageResult;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public interface IPayrollService {

    PageResult queryAll(QueryObject qo);

    void update(Payroll payroll);

    void delete(Long id);

    List queryForList(PayrollQuery qo);


    Payroll selectByPrimaryKey(Long id);

    void insertFromFile(Payroll payroll);

    Payroll selectPrimaryByKey(Long id);

    void updatePayTime(Long id, Date date, BigDecimal bigDecimal);
}
